Skip to content

Conversation

@ric-v
Copy link
Member

@ric-v ric-v commented Dec 14, 2025

This pull request updates the build configuration and packaging for the extension, primarily to improve bundling and ensure necessary dependencies are included for deployment. The most important changes are outlined below.

Build and packaging improvements:

  • Updated the esbuild-base script in package.json to add pg as an external dependency, specify --main-fields=main, and allow passing additional arguments (such as --minify and --sourcemap) to the build scripts for more flexible bundling.
  • Modified the vscode:prepublish, esbuild, and esbuild-watch scripts to forward extra arguments to the build commands, enabling consistent minification and source map generation.

Dependency inclusion adjustments:

  • Updated .vscodeignore to explicitly include several node_modules subdirectories (such as pg-types, pg-protocol, pg-int8, and others) that are required for the extension to function correctly, preventing them from being excluded during packaging.

Version bump:

  • Increased the extension version from 0.6.7 to 0.6.9 in package.json to reflect these changes.

@ric-v ric-v merged commit 08e68d1 into dev-asterix:main Dec 14, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant